/*
*  Copyright 2019-2020 Zheng Jie
*
*  Licensed under the Apache License, Version 2.0 (the "License");
*  you may not use this file except in compliance with the License.
*  You may obtain a copy of the License at
*
*  http://www.apache.org/licenses/LICENSE-2.0
*
*  Unless required by applicable law or agreed to in writing, software
*  distributed under the License is distributed on an "AS IS" BASIS,
*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*  See the License for the specific language governing permissions and
*  limitations under the License.
*/
package com.alien.admin.modules.message.service.dto;

import lombok.Data;
import java.sql.Timestamp;
import java.io.Serializable;

/**
* @website https://el-admin.vip
* @description /
* @author zhouseyi
* @date 2021-11-17
**/
@Data
public class NotifyAnnounceDto implements Serializable {

    private Integer id;

    /** 发送者id */
    private Long senderId;

    /** 消息标题 */
    private String title;

    /** 消息正文 */
    private String message;

    /** 是否html片段 */
    private Boolean isHtml;

    /** 跳转路径 */
    private String router;

    /** 类型:success/warning/info/error */
    private String type;

    /** 显示时间: 毫秒，为0则不自动关闭 */
    private Long duration;

    /** 创建人 */
    private String createBy;

    /** 创建日期 */
    private Timestamp createTime;
}